/**
 * 
 */
package org.cuatrovientos.javakart;

import java.util.Vector;

/**
 * @author daniel_ancin
 *
 */
public class Race {
	private String name;
	private Circuit myCircuit;
	private Vector<Car> people = new Vector<Car>();
	
	/**
	 * constructor
	 * @param name
	 * @param myCircuit
	 * 
	 */
	
	public Race(String name, Circuit myCircuit) {
		this.name = name;
		this.myCircuit = myCircuit;
		
	}
	/**
	 * 
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Inset vehicles
	 * @param v
	 * 
	 */
	public void insertCard(Car v){
		people.add(v);
	}
	public void insertCar(Car myCar) {
		// TODO Auto-generated method stub
		
		
	}
	public Object run() {
		// TODO Auto-generated method stub
		return null;
	}
	
	
	
	}
	


